package com.chiancloud.shield;

import com.chiancloud.shield.client.ShieldClient;
import com.chiancloud.shield.core.main.ServiceLauncher;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * Created by wanghui on 14-8-20.
 */
public class Shield extends ShieldClient {

    public static final String SERVICE_CLASSNAME = "com.chinacloud.shield.Shield";
    public static void main(String[] args) {
        List<String> argsList = Arrays.asList(args);
        List<String> extendedArgs = new ArrayList<String>(argsList);
        extendedArgs.add(0, SERVICE_CLASSNAME);
        ServiceLauncher.serviceMain(extendedArgs);
    }
}
